Apparatus for monitoring and controlling a tool in a borehole

ABSTRACT

The particular embodiment described herein as illustrative of one embodiment of the invention is directed to control circuitry for a selectively-operable hydraulic system employed for moving a wall-engaging member on a well tool into and out of contact with a well bore wall. To insure that the wall-engaging member is retained in contact with a well bore wall with sufficient force, the control circuitry is uniquely arranged to reactivate the hydraulic system whenever the output pressure thereof decreases below a predetermined level.

United States Patent Inventor Herbert J Hart Houston, Tex. Appl. No. 802,710 Filed Dec. 31, 1968 Division of Ser. No. 649,978, June 29, 1967. Patented Feb. 23, 1971 Assignee Schlumberger Technology Corporation N? PF E APPARATUS FOR MONITORING AND CONTROLLING A TOOL IN A BOREIIOLE 5 Claims, 20 Drawing Figs.

US. Cl. 175/24, 166/212, 175/77, 175/230 Int. Cl E2lb 9/34, E21b 49/06 Field of Search 5/24, 27,

[56] References Cited UNITED STATES PATENTS 2,330,739 9/1943 Piron 60/52X 3,430,698 3/1969 Urbanosky 166/212 Primary Examiner- David H. Brown Atmmeys Ernest R. Archambeau, Jr., Richard E. Bee, John E. Holder, David L. Moseley, Edward M. Roney and William R. Sherman ABSTRACT: The particular embodiment described herein as illustrative of one embodiment of the invention is directed to control circuitry for a selectively-operable hydraulic system employed for moving a wall-engaging member on a well tool into and out of contact with a well bore wall. To insure that the wall-engaging member is retained in contact with a well bore wall with sufficient force, the control circuitry is uniquely arranged to reactivate the hydraulic system whenever the output pressure thereof decreases below a predetermined level.

PATENT EU H5823 1971' sum 5 [1F 7 TSQH MEQ Q moi m ATTORNEY TOOL IN A BOREIIOLE This is a division of application Ser. No. 649,978, filed June Heretofore, formation samples have usually been obtained from previously drilled boreholes by explosively propelling into the adjacent wall of a borehole one or more tubular bodies having appropriately arranged forward cutting edges. As these bullets penetrate the borehole wall, a generally cylindrical core of the formationmaterial is driven into each bullet so that, when the bullets are subsequently retrieved, the cores in each will be recovered at the surface of the earth for examination. Although such core taking bullets have been highly successful, it would be desirable to obtain a continuous sample of an earth formation along a substantial vertical interval of a borehole.

One way of obtaining such continuous samples of earth formations is shown in U.S. Pat. No. 3,430,713 granted to C. P. Lanmon. The aforementioned aforementioned Lanmon patent shows motor driven cutting wheels which are adapted to cut into the adjoining earth formations so as toslice a sample therefrom. There is also shown a suitable hydraulic pump operated byan electric motor for feeding the cutting wheels into and longitudinally upward through the formation, as well feed of the cutting wheels and to control the hydraulic anchor means. It would also bedesirable, in connection-with the core slicing operation, to monitorthe hydraulic pump pressure for the anchor means and increase the pump pressure when necessary. In this connection, it is important to perform this function very quickly since if the core slicing tool should become unanchored, there is a chance that the sudden movement of the tool will cause the cutting wheels to bind in the earth formations that are being cut, this stalling the cutting motor. Again, since the output torque of an electrical motor is usually less while starting the motor, it may become very difficult or even impossible to free the cutting wheels in this case. For these reasons, it would be desirable to monitor the hydraulic anchor pressure so that rapid and automatic corrective action can be taken in case the pressure becomest low.

It is an object of the inventiontherefore to provide new and improved apparatus for monitoring and controlling the operation of a well bore tool including a selectively-operable hydraulic system employed for moving a wall-engaging member into contact with a well bore wall.

It is another object of the present invention to provide new and improved apparatus for monitoring and controlling the operation of a tool for cutting samples of the earth formation transversed by a borehole.

In accordance with the present invention, apparatus is provided for monitoring and controlling the operation of a tool in a borehole includes monitoring the pressure of a pressure responsive means, such as an anchor means movable in response to hydraulic pressure, and acting to maintain said pressure above a specified level in response to the monitored pressure. In another form of the invention, the pressure responsive means takes the form of a motor driven hydraulic anchor means. Power is normally applied to a suitable utiliza tion means but can be switched to the motor of the motor driven anchor means whenever the pressure becomes to low. By so doing, power can be supplied to two separate utilization means in the tool over a common power channel.

For a better understanding of the present invention, together with other and further objects thereof, reference is bad to the following description taken in connection with the accompanying drawings, the scope of the invention being pointed out in the appended claims.

FIG. 1 shows acore slicing tool in a borehole and in position to obtain an elongated formation sample;

FIG. 2 is schematic representation of the intermediate portion of the tool shown in FIG. 1;

FIG. 3 is a schematic representation of a groove system that may be employed with the tool shown in FIGS. 1 and 2;

FIG. 4 is a partial cross-sectional view taken along the lines M in FIG. 3;

FIGS. 50 and 5b show a schematic representation of the downhole electrical circuitry in a core slicing tool in accordance with the present invention;

FIGS. 60 and 6b show a schematic representation of the electrical circuitry at the surface of the earth for responding to the information transmitted from the downhole electrical circuitry of FIG. 5 and controlling portions of the FIG. 5 circuitry; I

FIGS. 7a7 f represent voltage wave forms at selected points in the FIG. 5 circuitry;

FIG. 8 graphically represents the relationship of torque versus revolutions per second of a motor in the downhole tool for various cable lengths;

FIG. 9 shows a circuit that could be substituted for a portion of the FIG. circuitry; 7

FIGS. Illa-10c show voltage wave forms at various points in the FIG. 9 circuit; and

FIG. 11 shows how FIG. 5a fits with 5b and FIG. 6a with 6b.

' Turning now to FIG. 1, a core slicing tool 10 arranged in accordance with the present invention is shown suspended from an armored multiconductor cable 11 in a borehole l2 and in position to obtain an elongated prismatic or wedge-shaped sample 13 from the adjacent wall of an earth formation 14. The lower portion of the cable 11 is covered with a suitable insulation material 110. Located at a desired position on this insulated portion of the cable 11 is an electrode, designated SP, for measuring the naturally occurring or spontaneous formation potential. This SP electrode is connected to a suitable conductor in the cable 12 to provide an indication of this naturally occurring potential at the surface of the earth. U.S. Pat. No. 3,430,713 granted to C. P. Lanmon, U.S. Pat. Nos. 3,430,698 and 3,430,716 granted to I-I.J. Urbanosky, and U.S. Pat. No. 3,430,714 granted to FF. Brieger, filed simultaneously herewith, more fully describe those portions of the tool 10 that are not a part of the present invention.

In general the upper housing 15 of the tool 10 preferably encloses typical circuitry for locating the tool at a desired position in the borehole 12 as well as the circuitry of the present invention for controlling the various components in the tool and transmitting infonnation and power through the various conductors in the suspension cable 11. The next lower housing 16 preferably includesa hydraulically actuated wall-engaging anchor means 17 that is selectively extendible against one side of the borehole 12 to shift the forward face of the core slicing tool 10 in the opposite direction and thus anchor the tool 10.

The intermediate housing 18 of the tool 10 supports a pair of similar cutting wheels 19 that are respectively mounted in converging vertical planes and arranged to rotate about independent, outwardly diverging axes themselves lying generally in the same horizontal plane and intersecting each other at a suitable angle. The cutting wheels 19 are suitably arranged and sized in relation to one another so that their peripheral edges will all but come together at about the point of intersection of the three aforementioned planes. Thus, by moving the wheels 19 in unison in a generally vertical direction, the generally wedge-shaped or triangular prismatic sample 13 will be cut from the adjacent formation 14.

To gain entrance for the cutting wheels 19 into the formation 14, the wheels are advanced outwardly and upwardly through a longitudinal opening 20 in the housing and to their outermost lateral position. Then, after a longitudinal cut of a predetermined length has been made, the cutting wheels 19 are returned along an upwardly inclined path and back through the housing opening 20 until they are fully retracted. The cutting wheels 19 then return to their original starting position while still fully retracted.

Motion-translating means (not shown) are arranged in the housing 21 coupled immediately below the intermediate tool housing 18 and operated by the travel of the cutting wheels 18 to rotate a sample receiver in the housing 22 therebelow into position to receive successive formation samples, as at 13, as they are freed by the cutting wheels and to segregate these samples from one another. Since a complete description of the motiontranslating means and sample receiver is not essential to a full understanding of the present invention, suffice it to say that the sample receiver is basically comprised of a plurality of upright tubes (not shown) that are successively rotated (by the motion-translating means) about the longitudinal axis of the housing 22 into position to receive one of the formation samples 13. The upper ends of these sample-receiving tubes are, of course, open and their lower ends are closed. For further details, a complete description of the motion-translating means and the sample receiver is found in the aforementioned Urbanosky Pat. No. 3,340,716.

Turning now to FIG. 2, a schematic representation is shown of the intermediate housing 18 of the tool in which the cutting wheels 19 are confined. In general, the cutting wheels 19 are operatively mounted below an enclosed housing or enclosure 23 that is in turn secured to two parallel tubular members 24 (only one seen in FIG. 2). These tubular members 24 are each slidably disposed about substantially longer, paralleled longitudinal rods 25 (only one seen in FIG. 2) that are secured only at their upper and lower ends to the tool housing 18 and spaced away from the rear wall of the housing. The opposite ends of the tubular members are slidably sealed around the elongated rods 25. A piston member 26 (only one shown in FIG. 2) is fixed at an intermediate position on each of the elongated rods 25 and slidably sealed relative to the internal bore of its associated tubular member 24 to define therein separate upper and lower fluid-tight chambers 27 and 28.

Accordingly, it will be appreciated that by developing a higher fluid pressure in the upper hydraulic chambers 27 than that in the lower hydraulic chambers 28, the tubular members 24 and enclosure 28 connected thereto will be moved upwardly along the elongated rods 25 relative to the tool housing 18. Similarly, by imposing a higher pressure in the lower hydraulic chambers 28 than that in the upper hydraulic chambers 27, the enclosure 23 will travel downwardly along the rods 25.

To develop such higher pressures in the chambers 27 and 28, a suitable motor driven hydraulic pump 29 is mounted within the enclosure 28 and connected by fluid lines 30 and 31 to the hydraulic chambers. The pump 29 can be selectively operated from the surface' to transfer fluid between the hydraulic chambers to accomplish the desired travel of the enclosure 23 along the elongated rods 25. The hydraulic means for anchoring the tool uses this same type of arrangement (not shown for brevity). To power the cutting wheels 19, a suitable induction motor 32 is also fitted into the enclosure 23 and connected to the cutting wheels by suitable power transmission means 33.

A pair of depending arms 34 (only one shown in FIG. 2) are connected at their lower endsto a right-angle gear drive 35 supporting the cutting wheels 19, with these arms being pivotally connected at their upper ends to the enclosure 23. Outwardly biased guide pins (now shown in FIG. 2) near the free ends of the pivoted arms 34 are slidably disposed in a labyrinthlike system of grooves 35a (only one system seen in FIG. 2) formed in the interior side walls of the intermediate housing 18 on opposite sides of the longitudinal opening therein. These groove systems 35 are so arranged that upward longitudinal travel of the enclosure 23 from its full-line position to its dashed-line position at 36 in FIG. 2 will be effective (through the coaction of the guide pins in their respective groove system) to direct the cutting wheels 19 along the path A- B-C- D depicted in FIGS. 2 and 3. Then upon downwa d. tra el o tthsl i s rel bGJilQ th l 9 .rtqsi; tion shown in FIG. 2, the groove systems 35 and their guides will direct the cutting wheels 19 downward toward their initial position at A.

As seen in FIG. 3 the groove systems 35 are arranged in a closed loop having two parallel longitudinal positions 37 and 38 of unequal length and spaced apart from one another. The shorter grooves 38 are connected at their opposite ends to the longer grooves 37 by oppositely directed inclined grooves 39 and 40 which respectively intersect the longer grooves at longitudinally spaced intermediate points.

Accordingly, as the cutting wheels 19 move along the path A-B, they will be moving upwardly and outwardly as they cut their way into the formation 14. Then, as the cutting wheels 19 move upwardly from their position at B to their position at C, they will be cutting along a straight path of a length determined by the length of the shorter grooves 38. Upon reaching their position at C, the cutting wheels 19 will be retracted as they move further upwardly and cut their way toward their position at D. Thus, once the cutting wheels 19 have reached the position at D, a prismatic sample 13 with tapered ends will have been cut out of the formation 14 and will drop into the core receiving housing 22 therebelow.

The groove systems 35 must, of course, be arranged to insure that their respective guide pins are diverted into the lower inclined grooves 39 as the enclosure 23 moves upwardly. Similarly, when the enclosure 23 has reached its uppermost position (as at 36 in FIG. 2), the guide pins must be prevented from reentering the upper grooves 40 so that the cutting wheels 19 can proceed from their position at D to their position at E and back to their initial position at A.

Accordingly, as seen in FIGS-3 and 4, an abutment 41 is provided in the lower end of each of the longer grooves 37 for preventing the guide pins from entering the longer grooves as they move upwardly. To facilitate the passage of the guide pins, the faces of the abutments 41 are extended along the line of the downwardly facing wall of the lower inclined grooves 39 as shown in FIG. 3. Similarly, to insure that the guide pins will not reenter the upper end of the upper inclined grooves 40 as the enclosure 23 is returned downwardly, an abutment 42 (similar to that at 41) is located across the entrance to the upper end of each of the upper inclined grooves 40. Hereagain, to facilitate the passage of the guide pins, the faces of the abutments 42 are made as a continuation of the righthand (as viewed in FIG. 3) side walls of the longer grooves 37. The height of each abutment, as at 41, is made less than the total depth of its associated groove 37 and inclined ramp or surface, as at 43 (FIG. 4), is provided from the bottom of the groove 37 up to the upper surface of the abutment, with this inclined surface rising in the direction from which the guide pin in that groove is intended to be coming. Thus, as the spring-biased guide pins reach their positions they can retract sufficiently to move up the inclined surfaces 43 of the abutments 41 as the enclosure 23 is moved downwardly. Once the guides reach the abrupt faces of the abutments, they will be urged outwardly and return to their normal extended position. The inclined surfaces 44 (FIG. 3) on the lower ends of the upper abutments 42 in the slots 38 will, of course, function in the same manner.

Referring now to FIGS. 5a and 5b, there is shown the downhole electrical circuitry including that of the present invention) which has two basic functions. One is to obtain directional information such as the azimuth, relative bearing and inclination of the tool in the borehole as well as running a log of certain characteristics of the adjoining earth formations for depth control purposes. The second function of the downhole circuitry is, in accordance with the objects of the present invention, to monitor and control the core slicing operation, including the anchoring of the tool in the borehole, and supply certain information to the surface of the earth.

For the directional information and depth control, there must be a sufficient number of conductors to supply the azimuth, relative bearing, and inclination information, as well as the depth control logging information the the surface of the earth. It is also necessary to derive-power from the surface of the earth to operate the directional information and depth control equipment in the tool 10. Concerning the functions utilized in connection with the core slicing operation, FIGS. 54 and 5b also includes circuitry for monitoring the rotational speed of the motor 32 driving'the cuttingwheels l9, circuitry for measuring the position of the cutting wheels 19, circuitry for measuring the position of the cutting wheels 19 along their elongated path as they are cutting the fonnation material, as well as the circuitry of the present invention for monitoring the hydraulic pressure of the hydraulic anchor means. The FIGS. and 5b apparatus, in connection with the core slicing operation, also includes circuitry for selectively energizing switching means for starting the cutting motor 32, the circuitry of the present invention for applying hydraulic pressure in the proper chamber (upper and lower) to anchor or release the tool, and other circuitry for applying hydraulic pressure in the proper chamber 27 or28 for moving the cutting wheels up or down.

Before proceeding with the discussion of FIGS. 5a, 5b, 6a and 6b, refer to FIG; 11 to see how they fit together. The letters q through 2 correspond to the conductors which pass from FIGS. 50 to Sb and 6a to 6b. Hereinafter, FIGS. 5a and 5b will be referred to simply as FIG. 5 and FIGS. 6a and 6b simply as FIG 6.

Referring now to FIG. 6, the apparatusat the surface of the earth for supplying power to the apparatus utilized in connection with the core slicing operation comprises a variable frequency power source 50 which supplies current through an inhibit gate 5110 the primary winding 53 of a transformer 54. The current developed in the secondary winding 55 of the transformer is supplied between the armor of thecable 11 tors e and f of the multiconductor cable 1 I. When the switches 59c and 59f are switched to their normally open contacts, the conductors e and f are connected across the secondary winding 60 of a transformer 61. The primary winding 62 of transformer 61 is connected to a suitable AC power source 63.

It can be seen that when the switches 59c and 59]" are in their normally closed positions, the variable frequency power source 50) develops a voltage across the secondary winding 55 of transformer 54 which causes in-phase voltages to be set up on conductors e and f. On the other hand, when the switches are in the normally open position, the AC power supply 63 causes out of phase voltages or a potential difference to be set up across the cable conductors a and f.

Now referring to FIG. 5, the primary winding 64 of a transformer 65 is connected across the cable conductor e and f in the tool. The secondary winding 66 of transformer 65 is connected to the input of a DC power supply 67. Thus, DC power supply 67 will only be energized when conductors e and f have out of phase voltages, i.e., onlyv when switches 59c and 59f (FIG. 6) are in the normally open positions coupling AC power supply 63 to conductors e and f. Also connected across the cable conductors e and f in series relationship, are a pair of oppositely phased primary windings 68 and 69 of transformers 70a and 70b respectively. The intermediate point between the primary windings 68 and 69 is connected to the armor the multiconductor cable ll. A pair of identically phased secondary windings 71 and 72 of transformers 70a and 70b respectively are connected in series and supplied to the input of a DC power supply 73.

It can be seen that these winding of transformers 70a and 70!) are wound or phased (shown by the dots) so that DC power supply 73 will be energized only when in-phase voltages are applied to cable conductors e and f with the current return through armor, i.e., when switches 59e and 59f (FIG. 6) are in the normally closed position coupling power supply 50 to cable conductors e and f. When energized, the power supply 73 provides a DC supply voltage designated 8+ to the core slicing circuits. The ground for power supply 73 is designated PS in FIG. 5. This B+ voltage is shown at various points in the FIG. 5 circuit.

The cable conductor e is also connected in series fashion through the secondary winding 74 of a transformer 76 and to the common contact of a switch 770. The cable conductor f is also connected through the secondary winding 75 of transformer 76 to the common contact of a switch 77b. Switches 77a and 77b are energized by a relay solenoid 77 which is energized when DC power supply 73 is energized. The normally open contacts of switches 77a and 77b are connected together and to the common contact of a relay operated switch Kla to supply power for various core slicing functions to be described later. The transformer 76 is utilized to couple pulses indicative of various core slicing operations via the primary winding 78 to the cable conductors e and f for transmission to the surface of the earth. The secondary winding 74 and 75 of transformer 76 are phased in opposite directions as shown by the dots, so that the power supplied therethrough to normally open position thus providing out of phase voltages across conductors e and f from power supply 63, DC power supply 67 will become energized and supply DC power for the depth control and directional information apparatus in the tool. This out of phase voltage will not energize DC power supply 73 because of the phasing of transformers 70a and 70b and will not induce a voltage infthe primary winding 78 of transformer 76 since relay 77 is only energized when DC power supply 73 is energized. On the other hand, when switches79e and 79f are placed in the normally closed positions, AC power supply 50 supplies an in-phase voltage on cable conductors e and f with the armor being the current return. In this mode, only DC power supply 73 is energized and relay solenoid 77 is energized, thus closing switches 77a and 77b. By utilizing two conductors, and armor for this dual mode power supply system, the impedance seen by the power supplies at the surface of the earth is relatively low, thus providing efficient operation of the power distribution system, particularly by providing good impedance matching.

' Now concerning the downhole circuitry for providing depth control and directional information to the surface of the earth, the depth control desirable takes the fonn of gamma ray and spontaneous potential measurements. To provide the gamma ray log, a standard gamma ray scintillation detector 79 supplies pulses representative of the measured natural gamma rays to a suitable amplitude discriminator 80 which passes only those pulses having a voltage amplitude above a certain level. The pulse output from discriminator 80 is supplied to a suitable scaler or frequency .divider 81, which comprises one or more flip-flops, whose output issupplied to a suitable cable driver 82 which could comprise, for example, a blocking oscillator. The pulse output from cable driver 82 is coupled through a transformer 83, whose secondary winding 84 is connected between the armor of cable 11 and a cable conductor g through a capacitor 85. Also tied to cable conductor 3 is the SP electrode of FIG. 1 through a suitable resistor 86. The capacitor 85 acts to block the SP current from shorting out through secondary winding 84 to armor and resistor 86 tends to keep the SP electrode from loading down the other circuitry tied to cable conductor 3. Thus, it can be seen that the depth control information, comprising pulses representative of naturally occurring gamma rays from the earth formations and theSP current (which is a varying DC signal) are supplied to the surface of the earth via cable conductor g. The potential Obviously, since the gamma ray detector and SP electrode are not on depth with the core slicing cutting wheels (see FIG. 1), some depth shifting of SP and gamma ray will be necessary.

The directional information apparatus comprises equipment for measuring the azimuth, relative bearing, and inclination of the tool in the borehole. This is represented by the box 87 designated directional information. This apparatus can comprise for example the apparatus shown in U.S. Pat. No. 2,746,l62 granted to M.F.B. Picard on May 22, 1956. The DC power for the directional information apparatus 87 is derived from DC power supply 67. The output signals from the directional information apparatus are in the form of varying DC signals proportional to the desired information. To facilitate the transmission of this directional information to the surface of the earth, a suitable relay solenoid 88 is connected across the cable conductors e and f. Therefore, when the power on cable conductors e and f is in the depth control and directional mode, i.e. (out of phase) to energize DC power supply 67, relay solenoid 88 will become energized. This switches the output conductors from the directional information circuitry 87 (which are connected to the normally open contacts of the switches controlled by relay solenoid 88) to a plurality of cable conductors a, b, c, and d, which are connected to the common contacts thereof. One of the cable conductors a, b, c or d is utilized as a return conductor, the other three cable conductors contained the azimuth, relative bearing and inclination information.

When the depth and directional information is being measured, the ganged switches 59 are in the normally open position. Thus, the gamma ray pulses between conductor g and the armor, are supplied to an amplifier and pulse rate to DC converter 800 via a transformer 80b. A blocking capacitor 810 is placed in series with the primary winding 800 of transformer 80b to keep primary winding 80c from loading down the SP circuit. The DC output signal from pulse rate to DC converter 80a is recorded by a suitable recorder 82a driven by a shaft 82b as a function of tool depth. Recorder 820 also records the SI potential developed across the SP electrode and potential reference electrode N, the normally open contact of switch 59g being connected to the recorder 820 for this purpose. The mechanical damping of recorder 820 (i.e., the galvanometer pen) acts as a low-pass filter to block the high frequency gamma ray pulses. To record the directional information, the normally open contacts of switches 59a, 59b, 59c and 59d are supplied to a suitable recorder 830.

Now concerning how the various core slicing operations are controlled from the surface of the earth, there are shown a plurality of relay solenoids K1, K2, K3 and K4 in series relationship connected across the cable conductor g and armor. Also in series with these relay solenoids are a pair of back-toback Zener diodes 89 and 90 for keeping the relay solenoids Kl-K4 from loading down the SP measure circuit, i.e., the Zener breakdown voltage of Zener diodes 89 and 90 will be greater than the greatest expected spontaneous potential. Relay solenoids K1 and K2 have Zener diodes 91 and 92 respectively shunted therewith and relay solenoids K3, K4 have diodes 93 and 94 respectively shunted therewith. Considering cable conductor 3 as positive, diodes9l and 93 are back-biased and diodes 92 and 94 are forward-biased.

The relay contact Kla associated with relay solenoid K1 has its normally closed contact connected to the common contact of a switch K which is energized by relay solenoid K2. The normally closed contact of switch K20 is connected to one input of the motor 290 for operating the hydraulic cutting wheel feed pump. (See FIG. 2). The normally open contact of switch K20 is supplied to the other input of the motor 29a. The power for the motor 290 is returned through the armor. The normally open contact of switch K10 is connected to the common contact of a switch K30 which is energized by the relay solenoid K3. The normally closed contact of switch K30 is supplied to one input of a motor which controls a hydraulic anchor pump 96 to move the anchor means 17 (FIG. 1). The normally open contact of switch K30 is supplied to the other input of motor 95, the current from the motor being returned through armor.

Now concerning the relay logic associated with relays K1, K2, K3 and K4, these relay solenoids are selected such that the current required to energize solenoids K3 and K4 is much greater than that required to energize solenoids K1 and K2. Now, if a positive voltage is applied to cable conductor 3, (positive is considered to be cable conductor 3 positive with respect to armor), it can be seen that diodes 92 and 94 will short out relay solenoids K2 and K4. On the other hand, if a negative voltage is applied to cable conductor g, diodes 91 and 93 will short out solenoids K1 and K3. Thus, by supplying a small positive current 3, only relay solenoid K1 will be energized. On the other hand when a large positive current is supplied to the relay solenoids K'l-K4, relay solenoids K1 and K3 will both be energized. It can be seen that the same type of things will occur when the polarity is reversed, that is a small negative current will energize relay solenoid K2 only and a large negative current will energize both solenoids K2 and K4.

The Zener diodes 91 and 92 across relay solenoids K1 and K2 serve to protect their respective relay solenoids from pulling too much current during the large current logic states. In addition to these four current logic states, there is another current logic state, namely, zero current.

Now looking at the relay contacts associated with relay solenoids Kl-K4, the zero current logic state causes the motor 29 to operate in the mode to feed the cutting wheels 19 down by dumping hydraulic fluid into the lower chamber 28 of tubular member 24, (FIG. 2). In the negative low current logic state (K2 energized); the cutting wheels 19 are fed up by reversing the motor 290 direction and feeding hydraulic pressure into upper chamber 27 of tubular member 24. A capacitor 97 connected across the inputs to motor 290 provides the necessary phase change to cause the reversal in direction of motor 290. When a positive low current is supplied to the relay solenoids thus energizing relay solenoid K1, the relay switch K10 switches to the normally open position thus supplying power to the hydraulic anchor motor 95 in a phase which will cause the hydraulic anchor pressure to increase. The anchoring means can be a differential pressure operated piston arrangement like the one discussed earlier to feed the cutting wheels 19 up and down. Thus, when speaking of increasing hydraulic anchor pressure, this means that the wallengaging anchor member 17 (see FIG. 1) is pushed outward to engage the borehole wall, and when decreased it is retracted. When a positive high current is supplied to the relay solenoids, thus energizing relay solenoids KI and K3, it can be seen that power will be supplied in the opposite phase to motor 95 thus causing hydraulic anchor pressure to decrease. A capacitor 98 connected across the input leads to motor 95 provides the necessary phase reversal.

Now, concerning the power supply circuit to cutting wheel motor 32, referring to FIG. 6, the power for the motor 32 is derived from a variable voltage AC power source 99, desirably 60 cycles, which supplies the power via a transformer 100 to the cable. Each side of the secondary winding 101 of transformer 100 is split into two conductors which are each individually connected to the normally closed contact of switches 590, 59b, 59c, and 59d. The common contacts of these switches are connected to cable conductors a, b, c, and d. Referring to FIG. 5, at the tool, these cable conductors a, b, c, and d are connected to the common contacts of the switches energized by relay solenoid 88. (During the core slicing operation, relay solenoid 88 is deenergized). The normally closed contacts of these switches are recombined into two separate conductors 102, corresponding to the two conductors from transformer 100 (FIG. 6) and supplied to the motor 32. The third input to motor 32 is supplied from one of the conductors 102 through a running capacitor 103 to provide the polyphase operation during normal running operation. A starting capacitor 104 in series with a normally open switch K40 energized by relay solenoid K4 is shunted with running" capacitor to provide more capacitance, and thus more starting torque, for starting the motor. Thus, the negative high current logic state which energizes relay solenoid K4, is for starting the cutting wheel motor 32.

Referring to FIG. 6, there is shown the circuitry at the surface of the earth for providing the various current states for the relay solenoids Kl -K4. A suitable DC voltage source 1050 provides current for the various logic states. The high and low current states are provided by a switch 106 switching between either a high value resistor 107 to provide a low current or a low value resistor 108 to provide a high value of current. To provide the positive and negative polarity states, a suitable polarity reversing switch h is provided, whose output contacts are supplied through a pair of switches 110 to cable conductor 3 and armor. The connection to cable conin FIG. 6, there are shown the various core slicing functions, i.e'. feed cutting wheels down," increase anchor pressure,

start cutting wheels motor, release anchor," and "feed cutting wheels up. Each of these functions are coupled in a desired manner to "the switches 106 and 109 and 110 for providing the various current logic states to the downhole relay solenoids K1-K4. The "feed cutting wheels down function requires a zero current level on the cable conductor 3 and thus the switches 110 are open for this function. For the remainder of the functions, switches'110 are closed. For the increase anchor pressure function which requires a low positive current, the switch 106 is placed in the low current position and polarity reversing switch. 109 is placed in the positive polarity position. The remaining functions are accomplished in a similar manner by controlling the switches 106 and as desired to provide the desire current logic states.

It is recognized that various logic combinations of these functions can be utilized to bring about desired results. For example, it is most important that should the hydraulic anchor pressure be decreasing, thus indicating that the tool may begin slipping, the increase anchor pressure function should override all of the other core slicing operations. Thus, the dotted line 113 is shown to provide override of the feed cutting wheels down function (zero current), from the increase anchor pressure function. (Obviously, switches 110 must be closed to operate any other current logic state). Perhaps the second most important consideration is the possible stalling of the cutting wheel motor 32, again to prevent the cutting wheels from becoming stuck in the formation. Thus, when it is determined that the cutting wheels motor 32 may stall out, the feed cutting wheels down function is energized but only if the increase anchor pressure function is not energized. It can be seen that various logic combinations of the core slicing functions can be utilized, as desired, depending on the relative importance of each function. While these particular surface logic functions were not explicitly shown, it can be appreciated that one of ordinary skill in the art can arrange suitable logic elements, such as relays, to achieve the desired results. i

Whenever the downhole relay solenoids K1-K4 are energized from the surface, it may be undesirable to have the relay contacts of these relay solenoids interrupt a large amount of current to prevent burn out of the relay contacts. To alleviate this problem, whenever there is a change in current to the relay solenoids Kl-K4 downhole, a voltage is induced in the secondary winding 114 of transformer 112 by this change in current. The secondary winding 114 is connected in parallel to a pair of one-shots 115 and 1 16 which are responsive to positive and negative voltage excursions respectively. The outputs of one-shots 115 and 116 are connected through an OR gate 117 to the control input of the inhibit gate 51, which momentarily removes power from the cable conductors e and f. The on-tirne of one-shots 115 and 116 are set such that power will be reap lied to cable conductors e and f shortly after the downho e relay contacts have had a chance to switch.

Now concerning the downhole circuitry for monitoring the core slicing operation, first referring to FIG. 2, there is shown a suitable ramp device 118 whose axis is arranged parallel to the elongated rods 25 but whose surface nearest the enclosure 23 becomes progressively closer to the enclosure 23 as the enclosure moves in an upward direction. A suitable plunger 119 is in slidable contact with the ramp device 118 so that as the enclosure 23 moves upward, the plunger 119 will move a suitable wiper arm of a potentiometer 120 contained within the enclosure 23.

Now referring to FIG. 5, the potentiometer 120 has a 5+ voltage from DC power supply 73 applied across the resistance portion thereof. The wiper arm of potentiometer 120 is connected to a suitable current amplifier 121 which supplies an output current through an inhibit gate 122 to a capacitor 123. The output impedance of amplifier 121 is sufficiently high so that the output current therefrom will be substantially constant for any given input voltage to current amplifier 121, Le, any given position of the wiper arm of potentiometer 120. The capacitor 123 charges up at a rate proportional to the current from current amplifier 121. Thus, the voltage on capacitor 123 increases until reaching the threshold voltage of a suitable voltage comparator 124 at which time voltage comparator 124 generates an output signal. The reference voltage for voltage comparator 124 is derived through a pair of re sistors 125 and 126 from the supply voltage 8+.

. The output signal from voltage comparator 124 energizes a gate 127 which is connected across the capacitor 123 through a suitable discharge resistor 128. The output signal from voltage comparator 124 also energizes another gate 129 which connects the center point between the two resistors 125 and 126 through a suitable low value resistor 130 to ground. The

gate 129, by pulling a suff cientarnount of current from 13+ through the resistor 125, causes the reference voltage to voltage comparator 124 to drop to a low reference value. Therefore, the voltage on capacitor 123 which is discharging through resistor 128, must drop to the new low reference voltage before the output signal from voltage comparator 124 will drop to zero, thus deenergizing gates 127 and 129. When gate 129 is deenergized, the reference voltage to voltage comparator 124 is changed to its original high reference level. The capacitor 123, then, begins charging up again as in the manner previously discussed.

Thus, it can be seen that the time for capacitor 123 to discharge from the high reference level to the low reference level will always be substantially the same, and thus the ontime" of each pulse of the pulse train output from voltage comparator 124 will be the same. However, the time required for capacitor 123 to charge from the low reference level to the high reference level of voltage comparator 124 will be proportional to the current output from amplifier 121. Thus, the "off-time," and thus the frequency of the pulses from comparator 124, will be proportional to this current and therefore proportional to the relative longitudinal position of the cutting wheels 19. j

It would be desirable to monitor an operating characteristic of the cutting wheels motor 32 to determine when the motor is overloaded and ready to stall out. in this connection a suitable disc 32a is placed on the shaft of the motor 32 to monitor the speed of the motor 32. This disc 32a has two portions 131 and 132 thereof made of magnetic material. These magnetic portions are relatively small and diametrically opposite one another on the disc 32a. Located in magnetic proximity to the disc 32a is a suitable pickup coil 133 which has a voltage induced therein whenever either one .of the magnetic portions 131 or 132 pass the pickup coil 32a due to the change in magnetic flux. The signals derived from the coil 133 are supplied to a suitable one-shot circuit 134, which has a fixed ontime. The negative going output from one-shot 134 is supplied through a suitable difierentiator 135 and diode 136 to a pulse generator 137, which could comprise another one-shot. The positive going output from one-shot 134 and the output from pulse generator 137 are supplied through a suitable OR gate 138 to the control input of inhibit gate 122.

In operation, each motor speed pulse from pickup coil 133 is delayed by delay one-shot 134 for a given time interval before being transmitted to the surface of the earth. This time interval is the on-time of one-shot 134. After the negative pulse output from one-shot 134 is differentiated by differentiating circuit 135 and rectified by diode 136, a positive pulse, which timewise corresponds to the trailing edge of the pulse output from one-shot 134, triggers the pulse generator 137 to generate a pulse for transmission to the surface of the earth. The pulses from one-shot 134 and pulse generator 137, which are applied to inhibit gate 122, cause the capacitor 123 to stop charging up during the time interval which includes the ontimes" of both one-shot 134 and pulse generator 137. This inhibits any pulses from being generated from voltage comparator 124 while the cutting wheels motor speed pulses are being generated. However, the capacitor 123 is not discharged during this time, and after inhibit gate 122 is deenergized, the capacitor 123 continues to charge up as in the previously discussed manner.

To couple these pulses onto the cable conductors e and f for transmission to the surface, the output pulses from voltage comparator 124 and pulse generator 137 energize a pair of gates 139 and 140 respectively which are connected in pushpull fashion to the primary winding 78 of transformer 76. The center tap of primary winding 78 is connected to the supply voltage 13+. In this manner, pulses of opposite polarity will be induced into the secondary windings 74 and 75 depending on whether gate 139 or gate 140 is energized.

Now referring to FIGS. 7a -7f, there are shown the voltage wave forms of these pulse generating circuits for a better understanding thereof. Looking at FIG. 7a, there is shown the voltage on the capacitor 123 of FIG. 5. At the extreme lefthand side of FIG. 7a, the voltage charging the capacitor 123 has reached the high level reference voltage of voltage comparator 124. When the voltage on capacitor 123 equals this reference voltage, gate circuits 127 and 129 are energized to cause the capacitor to start discharging, as shown in FIG. 7a, and the reference voltage of voltage comparator 124 to drop to the low reference voltage level. Looking at FIG. 7b, there is shown the resulting cutting wheels position pulse (shown as negative) generated from voltage comparator 124. It can be seen, by comparing the time scales in FIGS. 7a and 7b, that the pulse width of the cutting wheels position pulse is equal to the time for capacitor 123 to discharge from the high reference voltage to the low reference voltage.

Now looking at FIG. 7c, there is shown a typical wave form of this cutting wheels position pulse at the surface of the earth. The change in shape is due to such things as cable capacitance. It can be seen that there is a large positive overshoot whose time duration is considerable. Now referring to FIG. 7d, there is shown the cutting wheels motor speed pickup signal induced in pickup coil 133. As stated in connection with FIG. 5, this pickup signal causes a blank out pulse (shown in FIG. 7a) to be applied to inhibit gate 122 of the cutting wheels position pulse generating circuit. Referring to FIG. 7f, there is shown the cutting whee'ls motor speed pulse which is supplied to the cable. It can be seen that the cutting wheels motor speed pulse of FIG. 7f will be generated at a time when there is very little, if any, of the positive overshoot portion of the cutting wheels position pulse on the cable.

The positions of the cutting wheels position pulse and cutting wheels motor speed pickup signals of FIGS. 7b and 7d represent the worst case to be encountered, i.e., when they occur almost simultaneously. It can be seen that if the cutting wheels motor speed pickup signals of FIG. 7d occurs at a later time than shown, the cutting wheels motor speed pulse of FIG. 7f will be even further removed from the overshoot portion of the cutting wheels position pulse on the cable at the surface of the earth (See FIG. 7c).

If the cutting wheels position pulse should occur at a later time with respect to the cutting wheels motor speed pickup signals of FIG. 711 than as shown in FIG. 7b, then the blank out pulse applied to inhibit gate 122 will inhibit the cutting wheels position pulse from being generated. Looking at the right half of FIG. 7a through 7f, which represents a later time, it can be seen that the cutting wheels motor speed pickup signals of FIG. 7d occurs before the cutting position pulse has been generated. Looking at FIG. 7a, the voltage on capacitor 123 which has been charging up towards the high reference voltage is held at a constant voltage once the blank out pulse of FIG. 7e to inhibit gate 122 has been generated. This voltage is maintained on capacitor 123, as shown in FIG. 7a, until the blank out pulse of FIG. 72 is removed from inhibit gate 122, at which time the voltage on capacitor 123 continues rising until it reaches the high level reference voltage and another cutting wheels position pulse is generated.

Thus, it can be seen that by using the apparatus of FIG. 5 for generating the cutting wheels position and motor speed pulses, the cutting wheels motor speed pulses can be transmitted to the surface of the earth on the same conductor pair without hindrance from the cutting wheels position pulses, and yet the position pulses will not be materially affected since capacitor 123 is not discharged during the blank out period. If this were not the case, it can be seen that should the cutting wheels position and motor speed pulses being running at the same frequency, there is a chance that none of the position pulses would be transmitted. The danger is also present to a lesser degree if the frequency of the position pulses is a multiple of the frequency of the motor speed pulses.

Referring back to FIG. 5, there is one more monitoring function present in the downhole apparatus. It would be desirable to monitor the hydraulic pressure of the hydraulic pressure of the hydraulic anchor means since as discussed earlier, should the tool begin slipping, the cutting wheels bind in the earth formations. To accomplish this monitoring function, in accordance with the objects of the present invention a hydraulic pressure switch 141 is located at a suitable point in the hydraulic anchor means to monitor the pressure applied to the anchor member 17, which switch 141 closes upon the hydraulic pressure falling below a given specified level. (This switch is not shown in FIG. 1 since hydraulic pressure switches are well known in the art). One side of this switch 141 is tied to 3+, the other side being connected through suitable current limiting resistor 142 to the input of inhibit gate 122. The value of resistor 142 is much less than the output impedance of current amplifier 121 and thus when the hydraulic switch 141 closes, a relatively large amount of current will be supplied to the capacitor 123. This large current will cause the capacitor 123 to charge up at a faster rate, thus increasing the frequency of the pulses applied from voltage comparator 124 to gate 139 to beyond the normal frequency of the positive indications. Thus, in reality, there are three sources of information coupled to cable conductors e and f via transformer 76, i.e. cutting wheels position, cutting wheels motor speed, and hydraulic anchor pressure. Now, referring to FIG. 6, the pulses transmitted up the cable on cable conductors e and f are supplied through the switches 59c and 59f which are in their normally closed position, thus coupling these pulses onto the secondary windings 143 and 144 of the transformer 58. The center point between the secondary windings 143 and 144 is connected to surface ground (the ground symbol designated S). The secondary windings 143 and 144 are phased such that the positive (motor speed) pulses are supplied in a positive polarity to a signal processing circuit 145, which is responsive to positive pulses and the negative (position) pulses are also supplied in a positive polarity to another signal processing circuit 146 identical in construction to circuit 145.

One problem that exists in detecting opposite polarity pulses transmitted to the surface of the earth over a conductor pair is that the previously discussed overshoots may trigger the opposite polarity pulse channel at the surface of the earth, thus giving an erroneous indication. One manner of solving this problem is to place suitable voltage discriminators in the pulse detection channels in the surface circuitry. However, the amplitude of the desired data pulses can vary due to such things as changing cable length as the tool is moved through the borehole and the harsh downhole environmental conditions, e.g. temperature. This would present the problem that some desired pulses may not be passed by the discriminator, or noise, such as the overshoots, would be passed as data pulses. The novel signal processing circuits 145 and 146 substantially alleviate this problem.

Now concerning these signal processing circuits 145 and 146, refer to the circuit 145. The positive pulses from secondary winding 144 charge up a capacitor 147 through a forward-biased diode 148 to the peak applied voltage. A suitable high impedance input amplifier 149, such as an emitter follower is responsive to this peak voltage to provide a DC signal to the resistance portion of a potentiometer 150, which DC signal is proportional to the peak value of the pulses induced in secondary winging 144. Thus, the circuitry comprising diode 148, capacitor 147, and emitter follower 149 comprises a peak detector, the capacitor 147 charging up quickly through diode 148 to the peak level, but discharging slowly so as to hold the charge thereon. The wiper arm of potentiometer 150 is set at a certain percentage 'of the peak voltage to protected voltage will be sufficient.

Thus, it can be seen that the signal processing circuit 145 acts to vary the bias or reference voltage of the pulses passed by voltage comparator 151 in accordance with the variations in the peak voltage of the detected pulses. The output pulses from voltage comparator 151- could be shaped, if desired, including each pulse being given the same pulse width and amplitudc, by a one-shot 152.1f the pulses from comparator 151 are shaped properly, one-shot 152 could be omitted. The signal processing circuit 146 acts in the identical manner on the cutting wheels position and hydraulic anchor pressure pulses from secondary winding 143. If desired, only one peak detection circuit could be utilized to bias both channels, but separate circuits are felt to be desirable due to factors which may effect the opposite polarity pulses separately. It should be noted at this point that the blank out of the position pulses in the tool (energizations of inhibit gate 122) will aid this automatic bias control operation. That is to say, the occurrence of a motor speed 'pulse while the overshoot from'the cutting circuit 145 are supplied to a pulse rate to DC converter 153,

the design thereof which is well known in the art. In like fashion, the detected cutting wheels'position pulses are applied to a pulse rate to DC converter 154. The DC output voltage from pulse rate to DC converter 154, which is proportional to the frequency of the cutting wheels position pulses received at the surface of the earth, are applied to a suitable voltmeter 155 and a voltage comparator 156, which could also be a Schmitt trigger, if desired. The reference voltage for voltage comparator 156 is derived from the wiper arm of a suitable potentiometer 157 to which is supplied a constant voltage V. The reference voltage applied to voltage comparator 156 is set such that an output signal will be generated from voltage comparator 156 when the high frequency pulses indicating low hydraulic anchor pressure are received, i.e., the higher frequency will cause the DC output from pulse rate to DC converter 154 to increase substantially. Looking at the meter 155, the normal operating portion thereof for the cutting wheels position indication is represented by the clear portion thereof and the hatched line portion represents low anchor pressure.

When the low hydraulic pressure signal indication is received, it becomes necessary to increase the hydraulic anchor pressure. However, since a faster response time than is obtainable with human operators may be required, this function is performed automatically by applying the output signal from voltage comparator 156 to the increase anchor pressure function, which causes a low positive current to be supplied to the relay solenoids l(1-K4 (HO. 5) to increase the hydraulic anchor pressure downhole.

Looking at the motor speed channel, the output from pulse rate to DC converter 153 is supplied to the negative input of a differential amplifier 158. A suitable frequency to DC converter 1584 is responsive to the frequency of the power supplied to the cutting wheels motor 32 from AC source 99 to generate a DC reference signal proportional to this frequency to the positive input of differential amplifier 158. Differential amplifier 158 supplies a signal representative of the difference between these two input signals to another voltage comparator 159, which could be a Schmitt trigger, for example. The comparator 159 derives its reference voltage-from the wiper arms of a potentiometer 160 to which is applied the constant voltage V. When the DC output voltage from differential amplifier 15.8 exceeds this reference voltage, voltage comparator 159 generates an output signal to the "feed cutting wheels down" function which causes the switches1l0 to be opened thus providing zero current downhole. This causes the enclosure 23 (FIG. 2) to be fed downward to allow the torque of the saw motor to build up again. (If an increase anchor pressure" indication has been received, it takes precedence though.)

Before proceeding with the theory of operation of the apparatus of FIGS. 5 and 6, it would be desirable to first explain how the overload operating point or the stall out point of the .cutting wheels motor 32 can be determined when the tool is on the end of a long cable in the borehole. One common way of determining the overload operating point or stall out point of a polyphase induction motor is to measure the slip. The slip of a polyphase induction motor is considered to be the difference between the synchronous speed (frequency of the applied power) of the motor and the armature or output shaft speed of the motor, i.e., motor speed. If the resistance of the power distribution system is always constant (like from the power company), this determination of slip is a relatively straight forward operation. However, when as in this case, the motor is on the end of a long cable in the borehole, this determination of slip is not so easy due to the change in cable resistance. This change in resistance may be substantial since the tool may be thousands of feed in the borehole.

Referring now to FIG. 8, there is shown a torque versus speed curve of a typical polyphase induction motor. Curves are shown for no cable length, maximum cable length, and some intermediate cable length, such as l0,000 feet. The dotted line curves in FIG. 8 show the effect of decreasing the voltage applied to the cable at the surface of the earth, at maximum cable length. The normal operating point is to the right of the peak of the particular curve. The peak of each of the curves in FIG. 8 is normally considered to be the critical slip point" or stall out point of the motor. That is to say, when the motor speed falls below the critical slip point for a given cable length, the motor is in the process of stalling. It can be seen that this critical slip point is radically different for the different cable lengths. Thus, it can be seen that it would be very difficult if not impossible to determine the critical slip point" of the tool when it is operating in the borehole by measuring this slip when the motor was at the surface of the earth. Knowing the cable length would not help very much either, since such things as temperature change the operating conditions, and especially the resistance of the cable, which changes the voltage applied to the motor.

However, it has been found that if the voltage at the surface of the earth is decreased, the critical slip point" will vary only slightly for any given cable length. This decrease in voltage is represented by the dotted line curves in FIG. 8. Thus, by decreasing the voltage applied to the motor until it stalls out.

the critical slip point can be determined when the tool is in the borehole.

Now referring to FIG. 6 and 8 in conjunction, the method of determining the critical slip point" or overload operating point of the saw motor is to first lower the tool to the point in the borehole at which it is desired to start the core slicing operation. The motor is started up and operated at a suitable point, as the operating point on the maximum cable length curve of FIG. 8. Next, thevoltage of variable voltage AC source 99 is decreased, thus moving this operating point to the left in FIG. 8, until the motor stalls out and the motor slip is noted. (The output signal from differential amplifier 158 is proportional to the synchronous speed (frequency of AC source 99) minus the motor speed and is thus a measure of slip." Thus, slip is noted on a voltmeter 161 which is calibrated in slip, connected to the output of differential amplifier 158).

The point at which the motor stalls out can be quickly determined since the meter needle will decrease slowly as the voltage applied to the cable conductor a --d from variable voltage AC source 99 is reduced. Then, when the motor stalls out, the needle will drop rapidly to zero. It is this point where the needle starts dropping rapidly to zero that is considered to be the "critical slip point." After providing a suitable safety factor, the reference voltage (wiper arm of potentiometer 160) to voltage comparator 159 is adjusted so that the cutting wheels will be fed down whenever the slip of motor 32 approaches this critical slip point" or stall out point thus decreasing the load on the motor.

Referring now to FIG. 9, there is shown a more desirable and quicker acting circuit for monitoring the slip of the cutting wheels motor and reversing the cutting wheels feed. The circuit of FIG. 9 is substituted for the pulse rate to DC converter 153, frequency to DC converter 158a, and differential amplifier 158 (which is redrawn in FIG. 9) of FIG. 6. More particularly, the output pulses from signal processing circuit 145 are frequency divided by a "divide by 2" circuit 170 (e.g., flipflop) and the resulting pulses supplied to a pulse period to DC converter I71. Within the converter 171, the pulses from divider circuit 170 energize a gate 172 which acts to discharge a capacitor 173. The capacitor 173 is supplied with current from a constant current source 174. A suitable peak detector circuit 175, like the one in signal processing circuit 145, supplies the peak voltage on capacitor 173 to a suitable smoothing filter 176. The resulting varying DC signal proportional to the peak voltage of capacitor 173 is supplied to the negative input of the differential amplifier 158.

The AC sinusoidal signal from AC source 99 is supplied to a wave shaping circuit 177 (e.g. Schmitt trigger) to convert the sine waves to square waves. The resulting square waves are supplied to another pulse period to DC converter 171a, which is identical to converter 171. The output of converter 171a is supplied to the positive input of the differential amplifier 158, the resulting difference signal being differentiated by a differentiator 178. The output of differentiator 178 and differential amplifier 158 are summed in a summing network 1780 and supplied to the voltage comparator 159.

In operation, the pulse period to DC converters 171 and 171a act to provide signals proportional to the inverse of synchronous speed and motor speed to the differential amplifier 158. By so doing, the response time of the slip detecting circuit is substantially improved. With a little thought, it can be seen that utilizing inverse functions rather than direct functions for speed introduces negligible error in the computation. This operation can better be seen in FIGS. 10a l0c. FIG. 100 shows the pulse output of signal processing circuit. The pulses of FIG. 10b shows how the divider circuit 170 acts on these pulses. FIG. 10c shows how the capacitor 173 charges at a constant rate until gate 172 energized by the pulses of FIG. 10b resets the capacitor. By this means, the peak voltage which capacitor 173 attains will be proportional to the period of the motor speed pulses. The resulting DC signal from filter 176 is the dotted line in FIG. 10c. Thus, as the pulse rate of FIG. 10a changes, the amplitude level to differential amplifier 158 will quickly change also. Thus, the large time constant required in the pulse rate to DC converter of FIG. 6 is not needed.

To further quicken up the circuit response time, the differentiator 178 is utilized, which acts to supply a large voltage output whenever the output of differential amplifier begins increasing. In case this change is relatively slow, the output of differential amplifier 158 can energize comparator 159 directly. These circuits of FIG. 9 have the effect of allowing the cutting wheels motor to be operated more efficiently by allowing the operating point 0 of FIG. 8 to be pushed further upon the curve, as to the point P.

Now concerning the operation of the apparatus of FIG. 5 and 6, the core slicing tool 10 is lowered into the borehole to a given depth level. The ganged switches 59 are switched to the normally open position to supply power to the DC power supply 67 downhole (FIG. 5) so as to energize the depth control and directional information apparatus. After sufficient depth and directional information has been obtained, (Note- Gamma ray and SP can be run separately), and when the tool is in the position desired to begin the core slicing operation, the ganged switches 59 are switched to the normally closed position thus energizing the DC power supply 73 (FIG. 5) downhole and supplying power to cutting wheels motor 32.

Next, in accordance with the present invention a low positive current is supplied to the relay solenoids KII(4 downhole so as to increase the hydraulic anchor pressure (i.e. force hydraulic fluid into the proper chamber of the differential pressure piston arrangement) and therefore anchor the tool at a fixed point in the borehole. Next, a large negative current is supplied to the relay solenoids Kl-K4 downhole from the start cutting wheels motor" function so as to switch the capacitor 104 into the motor 32 power circuit to facilitate starting. After the motor 32 has been started, the previously discussed method for determining the critical slip of the motor is carried out and the desired reference voltage to voltage comparator 159 set accordingly. The reference voltage applied to voltage comparator 156, to monitor the hydraulic anchor pressure, is presumed to already have been adjusted.

Now everything is ready for the core slicing operation. To start this operation, a small negative current is supplied to the relay solenoids Kl-K4 downhole so as to cause the cutting wheels to be fed upward into the earth formations. The cutting wheels will usually cut through the earth formations in a continuous manner via the grooves shown in FIG. 3 and return to the starting position in readiness for another slicing operation. The frequency of AC power supply 50 is adjusted to provide a continuous slice, i.e. the frequency determines the rate of feed. If, however, the formations are extremely variable, the core slicing operation will be a series of oscillating motions up and down within the formation interval until the entire core is sliced. In this case, the cutting wheels will be fed upwardly until voltage comparator 159 is triggered, at which time the cutting wheels will be fed in a downward direction until the slip reduces to a more desirable level, at which time the output signal from voltage comparator 159 will drop to zero. When this happens, the relay contacts will be returned to their closed position and the cutting wheels will be again fed upward. This process will be repeated over and over again until the entire core is sliced.

If however during this process, in accordance with the present invention, should a low hydraulic anchor pressure indication be sense by voltage comparator 156, the "increase anchor pressure" function will cause a low positive current to be supplied to the relay solenoids I(1-K4 (regardless of the slip condition), thus causing hydraulic fluid to be pumped into the proper chamber of differential pressure piston arrangement until the pressure forcing the anchor member 17 (FIG. 1) outward attains a desired value. During this automatic "increase anchor pressure" operation, the cutting wheels will no longer be fed upward, thus eliminating the possibility that the motor will stall out. This can be seen, in FIG. 5, by noting the relay logic, wherein the relaycontact Kla will switch to the normally open positionto increase hydraulic anchor pressure thus removing power from the hydraulic cutting wheel feed motor 29a also. I Y Y vWhile there have been described what are atpresent considered to be preferred embodiments of this invention, it will be obvious to-those skilled in the art that various changes and modification may be made therein'vvithout departing from the invention, and-itis therefore, intended to cover all suchchanges and modifications as fall within the truespirit and v 1O mined Pressurescope of the invention. p v lclairn:

1. Apparatus for monitoring and controlling the operation of a core slicing tool in a borehole wherein the tool includes an electrical motor driven hydraulic anchor means, the apparatus comprising:

a. means for supplying power to the motor;

b. means for switching the supplied power to another utilization means;

0. means for measuring the hydraulic pressure of the hydraulic anchor means; and

d. means'responsive to the. measured hydraulic pressure for switching the supplied power back to the motor when the hydraulic pressure fallsbelowa prescribed level to increase the hydraulic pressure. p a

2. Apparatus adapted for monitoring and controllingthe operation of a core slicing toolina'borehole wherein said tool includes cutting means operatively coupled to a first electric motor and adapted for feeding said cutting means into earth formation adjacent thereto and' hydraulic anchor means driven by a second electric motor and adapted for anchoring said tool in a borehole, the apparatus comprising:

first means adapted for selectively supplying power to said first and second electric motors; j second means adapted for measuring the hydraulic pressure of said hydraulic anchor means; and

control means operatively coupledto said first and second means and adapted for switching power being supplied to 4. Well bore apparatus comprising:

means on said body including a first electric motor operable upon application of power thereto;

anchoring means on said body including a wall-engaging member adapted for movement into anchoring engagement with a well bore wall, pressure-responsive actuating means operatively coupled to said wall-engaging member and adapted for moving said wall-engaging member into anchoring engagement with an adjacent well bore wall upon application of hydraulicpressure to said actuating means, and hydraulic pressure-developing means including a second electric motor and operable upon application of power thereto for applying an increased hydraulic pressure to said actuatingmcans; and

control means including switching means selectively operable for alternatively supplying power to said first and second motors, pressure-responsive means coupled to said switching means and adapted for operating said switching means to supply power to said second electric motor whenever the hydraulic pressure applied to said actuating means decreases to a predetermined pressure.

5. The well bore apparatus of claim 4 wherein said control means further include means operatively arranged and adapted for reswitching power bein su plied to said second electric motor back to said first e ec ric motor when the 

1. Apparatus for monitoring and controlling the operation of a core slicing tool in a borehole wherein the tool includes an electrical motor driven hydraulic anchor means, the apparatus comprising: a. means for supplying power to the motor; b. means for switching the supplied power to another utilization means; c. means for measuring the hydraulic pressure of the hydraulic anchor means; and d. means responsive to the measured hydraulic pressure for switching the supplied power back to the motor when the hydraulic pressure falls below a prescribed level to increase the hydraulic pressure.
 2. Apparatus adapted for monitoring and controlling the operation of a core slicing tool in a borehole wherein said tool includes cutting means operatively coupled to a first electric motor and adapted for feeding said cutting means into earth formation adjacent thereto and hydraulic anchor means driven by a second electric motor and adapted for anchoring said tool in a borehole, the apparatus comprising: first means adapted for selectively supplying power to said first and second electric motors; second means adapted for measuring the hydraulic pressure of said hydraulic anchor means; and control means operatively coupled to said first and second means and adapted for switching power being supplied to said first electric motor to said second electric motor to increase the hydraulic pressure of said hydraulic anchor means when the hydraulic pressure decreases to a predetermined pressure.
 3. The apparatus of claim 2 wherein said control means further include: means operatively arranged and adapted for reswitching power being supplied to said second electric motor back to said first electric motor when the hydraulic pressure is increased to a higher pressure above said predetermined pressure.
 4. Well bore apparatus comprising: a body; means on said body including a first electric motor operable upon application of power thereto; anchoring means on said body including a wall-engaging member adapted for movement into anchoring engagement with a well bore wall, pressure-responsive actuating means operatively coupled to said wall-engaging member and adapted for moving said wall-engaging member into anchoring engagement with an adjacent well bore wall upon application of hydraulic pressure to said actuating means, and hydraulic pressure-developing means including a second electric motor and operable upon application of power thereto for applying an increased hydraulic pressure to said actuating means; and control means including switching means selectively operable for alternatively supplying power to said first and second motors, pressure-responsive means coupled to said switching means and adapted for operating said switching means to supply power to said second electric motor whenever the hydraulic pressure applied to said actuating meaNs decreases to a predetermined pressure.
 5. The well bore apparatus of claim 4 wherein said control means further include means operatively arranged and adapted for reswitching power being supplied to said second electric motor back to said first electric motor when the hydraulic pressure is increased to a higher pressure above said predetermined pressure. 